import {getRecommend} from '../../../api'
import { observable, action, runInAction } from "mobx"
class RecommendStore {
    @observable Recommend_store = []
    @action.bound get_Recommend() {
        const _this = this
        getRecommend()
            .then(res => {
                runInAction(function () {
                    _this.Recommend_store = res.result
                })
            })
    }
    constructor(root) {
        this.RootStore = root
    }
}
export default RecommendStore